<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;
use yii\helpers\ArrayHelper;
use common\models\Adminuser;

/* @var $this yii\web\View */
/* @var $model common\models\Adminuser */



$this->title = '权限设置: ' ;

$this->params['breadcrumbs'][] = '权限设置';
?>


<div class="adminuser-update">

    <h1><?= Html::encode($this->title) ?></h1>


    <class="adminuser-privilege-form">

    <?php $form = ActiveForm::begin(); ?>
    <br>

    <div>
            <?= Html::dropDownList('username', null, ArrayHelper::map($data,'name', 'description'), ['class' => 'dropdownlist']);?>
        </div>
    <br>
        <?= Html::checkboxList('newPri',$a,$per);?>
    <br>
    <div class="form-group">
        <?= Html::submitButton('设置') ?>
    </div>

    <?php ActiveForm::end(); ?>

</div>



</div>




